/*
 * Application.h
 *
 *  Created on: 2017年3月5日
 *      Author: chuanjiang.zh
 */

#ifndef APPLICATION_H_
#define APPLICATION_H_

#include "BasicType.h"
#include "AppConfig.h"
#include "AppConst.h"

class Application
{
public:
	static Application& instance();

public:
	Application();
	virtual ~Application();

	int init();

	void quit();

	std::string getConfigPath();

	std::string getLogConfigPath();

	std::string getDbPath();

protected:
	void setupLog();


};

#endif /* APPLICATION_H_ */
